home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- TextCursorOff()
- set ThisSprite to the clickOn
- puppetSprite(ThisSprite, 1)
- set ThisCast to the castNum of sprite ThisSprite
- set Speak to the name of cast ThisCast
- set the castNum of sprite ThisSprite to ThisCast - 23
- updateStage()
- puppetSound(Speak & ".wav")
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- set the castNum of sprite ThisSprite to ThisCast
- updateStage()
- puppetSprite(ThisSprite, 0)
- puppetSound(0)
- end
-